package com.itheima.Service;

import com.itheima.pojo.OrderSetting;

import java.util.List;

public interface OrderSettingService {

    /**
     * 根据日期修改可预约人数
     * @param orderSetting
     * @return
     */
    void editNumberByOrderDate(OrderSetting orderSetting);

    /**
     * 根据年月查询对应的预约设置信息
     * @param month
     * @return
     */
    List<OrderSetting> getOrderSettingByMonth(String month);

    /**
     * 文件上传
     * @param list
     */
    public void add(List<OrderSetting> list);
}
